package com.chixing.day10_hashcode_exception.word;

import java.util.Arrays;

public class CompanyTest {
    public static void main(String[] args) {
        Company company1 = new Company(101, "珠海市魅族科技有限公司","民营公司","计算机，通信，网络设备");
        Company company2 = new Company(102, "慧博云通科技股份有限公司", "民营公司","软件，大数据");
        Company company3 = new Company(103, "中国移动","国企公司","计算机，系统，数据服务，维修");

        Position position1 = new Position(901,"Java开发工程师",company1 , 5000,   8000 ,"南京",  "本科学历" );
        Position position2 = new Position(902, "系统开发工程师", company1,  4000 ,  9000 ,"无锡" , "本科学历" );
        Position position3 = new Position(903,"运维工程师",company1,  3000  , 5000 ,"上海" , "本科学历" );
        Position position4 = new Position(904,"实施工程师", company2 , 6000 ,  8000 ,"上海" , "本科学历" );
        Position position5 = new Position(905,"Java开发工程师", company3,  7000  , 10000, "南京",  "本科学历" );


        company1.publishPosition(position1);
        company1.publishPosition(position3);
        company1.publishPosition(position2);
        company2.publishPosition(position4);



        company1.getCount();
        company1.selectCitynum();


        //company1.Count();
        /*company1.pushComputer(position1);
        company2.pushComputer(position3);
        company3.pushComputer(position5);*/



    }
}
